package com.joolun.tennis.domain;

import com.joolun.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.joolun.common.annotation.Excel;
import com.joolun.common.annotation.Excel.ColumnType;
import com.joolun.common.core.domain.BaseEntity;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

/**
 * 俱乐部附件对象 club_file
 * 
 * @author tennisport.cn
 * @date 2022-03-10
 */
public class ClubFile extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 文件名 */
    @Excel(name = "文件名")
    private String fName;

    /** 文件路径 */
    @Excel(name = "文件路径")
    private String path;

    /** 文件类型 */
    @Excel(name = "文件类型")
    private Long type;

    private Long clubId;

    private int deleted;

    public int getDeleted() {
        return deleted;
    }

    public void setDeleted(int deleted) {
        this.deleted = deleted;
    }

    public Long getClubId() {
        return clubId;
    }

    public void setClubId(Long clubId) {
        this.clubId = clubId;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public String getfName() {
        return fName;
    }

    public void setfName(String fName) {
        this.fName = fName;
    }

    public void setPath(String path)
    {
        this.path = path;
    }

    public String getPath()
    {
        return path;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("fName", getfName())
            .append("path", getPath())
            .append("type", getType())
            .toString();
    }
}
